package creationPattern.Factory.Factory_03.factory.impl;

import creationPattern.Factory.Factory_02.service.IFreeGoods;
import creationPattern.Factory.Factory_02.service.impl.SmallGiftService;
import creationPattern.Factory.Factory_03.factory.FreeGoodsFactory;

/**
 * 具体工厂 - 小礼品发放接口
 */
public class SmallGiftFactory implements FreeGoodsFactory {
    @Override
    public IFreeGoods getInstance() {
        return new SmallGiftService();
    }
}
